#ifndef BYTE_UTILS_H
#define BYTE_UTILS_H

#include "stdint.h"
#include <math.h>
void intToBytes(char* buf, uint32_t value, int len);

int bytesToInt(char* src, int len);

extern void itoc(int numb, char *dest, int len);

extern char *itoa(int value, char *string, int radix);

extern double stringToDouble(unsigned char *packet, unsigned int length);

void DecToString(unsigned char *string,int value);

#endif // BYTE_UTILS_H
